home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group99a.txt / 000196_icon-group-sender _Mon Sep 27 08:03:16 1999.msg < prev    next >
Internet Message Format  |  2000-09-20  |  2KB

  1. Return-Path: <icon-group-sender>
  2. Received: (from root@localhost)
  3.     by baskerville.CS.Arizona.EDU (8.9.1a/8.9.1) id IAA16179
  4.     for icon-group-addresses; Mon, 27 Sep 1999 08:03:02 -0700 (MST)
  5. Message-Id: <199909271503.IAA16179@baskerville.CS.Arizona.EDU>
  6. From: SungJae Yi <sung@opencon.com>
  7. To: "'icon-group@cs.arizona.edu'" <icon-group@optima.CS.Arizona.EDU>
  8. Subject: newbie question
  9. Date: Thu, 23 Sep 1999 16:42:10 -0400
  10. X-MIME-Autoconverted: from quoted-printable to 8bit by baskerville.CS.Arizona.EDU id NAA22186
  11. Errors-To: icon-group-errors@optima.CS.Arizona.EDU
  12. Status: RO
  13.  
  14. Hi:
  15. I have a newbie question. ( Sorry, I tried to look up various documents but I could not find the info).
  16.  
  17. What I want to do is to have my C++ program, which has the main(), call the Icon interpreter and let it process the provided data based on the external configuration (Icon program).
  18.  
  19. So the system would look like the following:
  20. [data file in]-->   [ My Main Process         ] -->      [Icon Interpreter]
  21.                         [                                   ]              |        ^
  22. [data file out]<-- [                                   ]<----------+       |
  23.                                                                            [Icon program]
  24.  
  25. Textual description:
  26. A program, My Main Process has two file I/O: input & output.
  27.  
  28. Once the input data has been read in, it is massaged and passed to the Icon interpreter.
  29. The Icon interpreter processes the data according to the external (external to My Main Process) configuration (Icon program) and returns the data to My Main Process.
  30. The returned data is then written out to output data file.
  31.  
  32. I noticed that I can call C functions from Icon program, but can I call Icon from a C/C++ program?
  33.  
  34. Sincerely,
  35. SungJae Yi
  36.  
  37.